import httpInstance from "@/utils/http"

/*
params: {
	orderState:0,  tab栏切换时的状态
  page:1,
  pageSize:2
}
*/

// 提交订单
export const getUserOrder = (params) => {
  return httpInstance({
    url: '/member/order',
    method: 'GET',
    params
  })
}

// export const getUserOrder = (id) => {
//   return httpInstance({
//     url: `/member/order/${id}`,
//     method: 'GET',
//   })
// }